﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Query
{
    [Serializable]
    public class ReturnMerchandise : IQuery
    {

        /// <summary>
        /// 地区ID
        /// </summary>
        public string AreaID
        {
            get;
            set;
        }

        /// <summary>
        /// 退货时间
        /// </summary>
        public System.DateTime? ReturnTime
        {
            get;
            set;
        }
        /// <summary>
        /// 建单时间截止
        /// </summary>
        public System.DateTime? ReturnTimeTo
        {
            get;
            set;
        }
        /// <summary>
        /// 建单时间起
        /// </summary>
        public System.DateTime? ReturnTimeFrom
        {
            get;
            set;
        }
        /// <summary>
        /// 退货单名称
        /// </summary>
        public string ReturnName
        {
            get;
            set;
        }



        /// <summary>
        /// 退货单流水号
        /// </summary>
        public string ReturnSerialID
        {
            get;
            set;
        }

        /// <summary>
        /// 医疗机构ID
        /// </summary>
        public string HospitalID
        {
            get;
            set;
        }


        /// <summary>
        /// 医疗机构名称
        /// </summary>
        public string HospitalName { get; set; }


        /// <summary>
        /// 退货单状态：0(空单) 1 (未提交) 2(已提交)
        /// </summary>
        public int? ReturnOrderStatus { get; set; }
        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }
    }
}
